#ifndef OFFINEMESSAGE_H
#define OFFINEMESSAGE_H

#include "json.hpp"
#include <iostream>
#include <vector>
#include <string>
using json = nlohmann::json;

class OfflineMessageModel
{
public:
    bool insert(int userid,std::string& js);

    void remove(int userid);
  
    //返回查询结果
    std::vector<std::string> query(int userid);
};



#endif